package com.example.javawebstudy.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.javawebstudy.mapper.CompanyMapper;
import com.example.javawebstudy.model.Company;
import com.example.javawebstudy.service.ComPanyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class comPanyServiceimpl extends ServiceImpl<CompanyMapper, Company> implements ComPanyService {
    @Autowired
    private CompanyMapper companyMapper;
    @Override
    public List<Company> getallcompanys(){
       return companyMapper.getallcompanys();
    }


}
